gtk: mark gtk_native_get_for_surface as nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:59:35 +0000 (17:59 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:59:35 +0000 (17:59 +0100)
gtk/gtknative.c

index 8a0b74a062a01acee1f7698329c57d6efdd40b56..0154781379c439199f199e4f07f65dac9b95123e 100644 (file)
@@ -267,7 +267,7 @@ gtk_native_get_surface_transform (GtkNative *self,
  *
  * Finds the `GtkNative` associated with the surface.
  *
- * Returns: (transfer none): the `GtkNative` that is associated with @surface
+ * Returns: (transfer none) (nullable): the `GtkNative` that is associated with @surface
  */
 GtkNative *
 gtk_native_get_for_surface (GdkSurface *surface)